package cn.iocoder.yudao.module.game.controller.admin.gameList.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - 游戏列表 Response VO")
@Data
@ExcelIgnoreUnannotated
public class GameListRespVO {

    @Schema(description = "游戏编号", example = "19796")
    @ExcelProperty("游戏编号")
    private String gameId;

    @Schema(description = "游戏名称", example = "芋艿")
    @ExcelProperty("游戏名称")
    private String name;

    @Schema(description = "游戏图片", example = "https://www.iocoder.cn")
    @ExcelProperty("游戏图片")
    private String imgUrl;

    @Schema(description = "是否推荐")
    @ExcelProperty(value = "是否推荐", converter = DictConvert.class)
    @DictFormat("infra_boolean_string") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Boolean recommend;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "编号，唯一自增。", requiredMode = Schema.RequiredMode.REQUIRED, example = "10512")
    @ExcelProperty("编号，唯一自增。")
    private Long id;

    @Schema(description = "游戏类型", example = "1")
    @ExcelProperty("游戏类型")
    private String gameType;

    @Schema(description = "游戏厂家")
    @ExcelProperty("游戏厂家")
    private String gameManufacturer;

    @Schema(description = "是否推荐")
    @ExcelProperty(value = "是否推荐", converter = DictConvert.class)
    @DictFormat("infra_boolean_string") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Boolean isFake;

    private String fakeGameId;

}